package com.zhl.media.commonsdk.utils;

import android.support.annotation.NonNull;

import java.io.File;

import okhttp3.MediaType;
import okhttp3.MultipartBody;
import okhttp3.RequestBody;

public class MultipartBuilder {

//    @NonNull
//    public static MultipartBody.Part prepareFilePart(String partName, String path) {
//        File file = new File(path);
//        RequestBody requestFile = RequestBody.create(MediaType.parse("multipart/form-data"), file);
//        UploadFileRequestBody
//        return MultipartBody.Part.createFormData(partName, file.getName(), requestFile);
//    }
}